package com.jhgk.jhcee.expert.service;

import com.github.pagehelper.PageInfo;
import com.jhgk.jhcee.auth.model.MajorRecruit;
import com.jhgk.jhcee.common.resultful.BasisResultful;
import com.jhgk.jhcee.common.resultful.PageResultful;
import com.jhgk.jhcee.expert.domain.model.MajorRecruitMode;

import java.util.List;

/**
 * @author: xiezhongping
 * @description:
 * @date: 2021/8/10 9:35.
 */
public interface MajorRecruitService {

    PageResultful<PageInfo<MajorRecruit>> search(MajorRecruitMode majorRecruitMode);

    BasisResultful<Object> searchAllSize(String provinceUuid,Integer year);

    BasisResultful<Object> delete(MajorRecruit majorRecruit);

    BasisResultful<Object> updateBatch(List<MajorRecruit> majorRecruits);

    BasisResultful<Object> addBatch(List<MajorRecruit> majorRecruits);

    BasisResultful<Object> updateMajorRecruit(String provinceUuid,Integer year);
}
